import Vue from 'vue';
import Vuex from 'vuex';
import user from './modules/user';
import auth from './modules/auth';
import config from './modules/config';
import getters from './getters';

Vue.use(Vuex);
export const RESET_STATE = 'RESET_STATE';

const store = new Vuex.Store({
  mutations: {},
  modules: {
    user,
    auth,
    config
  },
  getters
});

export default store;
